#!/usr/bin/python

def func():
    global x

    print 'x is', x
    x = 2
    print 'Changed global x to', x

x = 54
func()
print 'what\'s value of x:', x
